/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package millenium3dchess;

/**
 *
 * @author Kenneth
 */
import java.util.ArrayList;import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import javax.imageio.ImageIO;
import millenium3dchess.Game.Color;
public class Bishop extends Chessman  {

    public Bishop(Gamevector pos, Game.Color c) throws IOException {
        position = pos;
        color = c;
        cost = 3;
        moveList = new ArrayList<GameSquare>();if(c == Color.WHITE){
            icon = ImageIO.read(new File("images\\80x80\\WBishop.png"));
            smallIcon = ImageIO.read(new File("images\\25x25\\WBishop.png"));
        }else{
            icon = ImageIO.read(new File("images\\80x80\\BBishop.png"));
            smallIcon = ImageIO.read(new File("images\\25x25\\BBishop.png"));
        }
    }
    
    @Override
    void updateMoveList() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String toString() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
